package com.example.eurekaserver;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * 注册服务
 */
@SpringBootApplication
@EnableEurekaServer
public class EurekaServerApplication {

	private static final Logger log = LoggerFactory.getLogger(EurekaServerApplication.class);

	public static void main(String[] args) {
		new SpringApplicationBuilder(EurekaServerApplication.class).web(true).run(args);
		log.error("********* SPRING BOOT START UP SUCCESS ************");
	}
}
